﻿Create PROCEDURE [dbo].[proc_ProjectExpenditure_GetList_MyProjectsCount]
	(
		@Stext nvarchar(50),
		@UserName nvarchar(50)
	)
AS
	Select 
		Count(Id)
		From ProjectExpenditure Where UserName=@UserName  and (@Stext is null Or ProjectName like '%'+@Stext+'%')
	
	RETURN